const Router = require('@koa/router'); //引入路由
const router = new Router()

// 用户相关的api
const user = require('./controller/user');
// 登录接口
router.post('/wxLogin', user.wxLogin);

// 对话
const chat = require("@/controller/chat")
//对话接口
router.post('/chatMessage', chat.chatMessage)

module.exports = router;